<html>
    <head>
           <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="layout" content="main33" />
        <title>TvMAGAzine Plus</title>
    </head>
    <div id="login" style="text-align: center ;">

<div id="stylized" class="myform">
<g:form controller="teste" action="handleLogin">
         <div id="login_image">

          

           <table width="100" border="0" cellpadding="5">
  <tr>
    <td width="50"><div align="right"><img src="${createLinkTo(dir: 'images', file: 'iconLogin.png')}" alt="Grails" width="50px" height="50px"/></div></td>
    <td width="50"><div align="left"><b>Login</b></div></td>
  </tr>
</table>

          </div>
          <br/>Username: <br/><br/>         
          <g:textField name="username" value="${params?.username}"/>

          <br>
          </br>Password:</br></br>
          <g:passwordField name="password" value="${params?.password}" /><br>

           <a>
        </div>
          <g:if test="${flash.messageLogin}">
          <div class="message">
          ${flash.messageLogin}
          </div>
          </g:if>
        </a><br><br>

        <div style="padding-left: 35px">
          
               <g:submitButton name="update" value="Login" />        
        <br>       
</g:form>
</div>
    </div>
	
        <g:render template="/x_PageStatics/pageWrap"/>
       
    
</html>